﻿using System.Collections.Generic;

namespace SourceCodePlugin.Collections
{
    public sealed class LanguageCollection
    {
        private readonly static List<NameValuePair<string>> languages;

        public static List<NameValuePair<string>> Languages
        {
            get { return languages; }
        }

        public static string DefaultLanguage
        {
            get { return "csharp"; }
        }

        static LanguageCollection()
        {
            languages = new List<NameValuePair<string>>(new[] {
                new NameValuePair<string> { Name = "C++", Value = "cpp" },
                new NameValuePair<string> { Name = "C#", Value = "csharp" },
                new NameValuePair<string> { Name = "CSS", Value = "css" },
                new NameValuePair<string> { Name = "Delphi", Value = "delphi" },
                new NameValuePair<string> { Name = "HTML", Value = "html" },
                new NameValuePair<string> { Name = "JavaScript", Value = "jscript" },
                new NameValuePair<string> { Name = "PHP", Value = "php" },
                new NameValuePair<string> { Name = "Python", Value = "python" },
                new NameValuePair<string> { Name = "Ruby", Value = "ruby" },
                new NameValuePair<string> { Name = "T-SQL", Value = "sql" },
                new NameValuePair<string> { Name = "VB.Net", Value = "vb" },
                new NameValuePair<string> { Name = "XML", Value = "xml" },
            });
        }
    }
}
